<?php
//Lauri Link student 11 04.11.2011


include "ik_kontroll.php";
$kood = $_POST["kood"];

?>

<html>
<head>
<title>Isikukoodi uurimine</title>
</head>
<body bgcolor=Teal text=khaki link=DarkSlateGray></body>
<p>
Siia pane mingi isikukood
<form method="post" action="<?php echo $PHP_SELF;?>">
<table border=1>
    <tr>
        <td>Uurimisalune:</td>
        <td>
            <input type=text name=kood maxlength=11 value=<?php echo $kood ?>>
        </td>
    </tr>
</table>           
<input type=submit name=nupp value="Anna minna">
</form>
</html>
<?php
ik_kontroll($kood); 
?>
